Skip to content

Export all media files per item instead of only the first#362

Merged
level09 merged 3 commits into
mainfrom
fix/export-all-media
Jul 13, 2026
Merged

Export all media files per item instead of only the first#362
level09 merged 3 commits into
mainfrom
fix/export-all-media

Conversation

@level09

@level09 level09 commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Fixes BYNT-1727.

generate_export_media copied only item.medias[0], so bulletins (and actors) with multiple media attachments exported incomplete data. Now all media files linked to each exported item are included, for both local filesystem and S3 storage. The per-file throttle sleep moved inside the media loop so S3 download pacing stays consistent.

Media filenames are UUID-based so there are no collision concerns in the export folder.

@level09 level09 requested a review from apodacaduron as a code owner July 11, 2026 12:33
@level09 level09 self-assigned this Jul 11, 2026
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0e6582cf-7602-4823-b9cf-4008fddb9772

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/export-all-media

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@apodacaduron apodacaduron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested using local filesystem it does bring back all related files now

@level09 level09 merged commit 89dfcf1 into main Jul 13, 2026
11 checks passed
@level09 level09 deleted the fix/export-all-media branch July 13, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants